package com.itluma.isWOak.service;

import com.github.pagehelper.PageInfo;
import com.itluma.isWOak.pojo.Account;
import org.apache.ibatis.annotations.Param;

public interface AccountService {

	//显示账务账号信息列表
	PageInfo<Account> showList(Integer page, Integer pageNum);

	//根据账务id查询账务信息详情
	Account showOneUserDetail(Integer accountId);

	//根据身份证号查重
	boolean selectByIdcordNo(String IdcordNo);

	Account insertAccount(Account account);

	boolean updateStatus( String status, Integer accountId);

	//根据id查找具体信息
	Account updateAccount(Integer accountId);

	//旧密码验证
	boolean selectPwd(String oldpwd,Integer aId);

	//修改账务信息
	boolean updateAccountDetail(Account account);

	//删除账务账号
	boolean deleteAccount(Integer accountId);
}
